const myIntegral = () => import('views/pointsZone/myIntegral') //我的积分
const integralRule = () => import('views/pointsZone/integralRule') //积分规则
const integralMall = () => import('views/pointsZone/integralMall') //积分商城
const exchangeRecord = () => import('views/pointsZone/exchangeRecord') //积分兑换记录
const integralDet = () => import('views/pointsZone/integralDet') //积分明细
const pointOrderDetail = () => import('views/pointsZone/pointOrderDetail') //积分订单详情

const integralWithdrawal = () => import('views/pointsZone/integralWithdrawal') //积分提现

export default [
    {
        path: '/marketingModules/pointsZone/integralMall',
        component: integralMall,
        meta: {
            title: '积分商城',
            showHeadBox: true, //显示HeadBox组件
            titleName: '积分商城' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/myIntegral',
        component: myIntegral,
        meta: {
            title: '',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/integralWithdrawal',
        name: 'integralWithdrawal',
        component: integralWithdrawal,
        meta: {
            title: '积分提现',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '积分提现' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/integralRule',
        component: integralRule,
        meta: {
            title: '积分规则',
            showHeadBox: false, //显示HeadBox组件
            titleName: '积分规则' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/exchangeRecord',
        component: exchangeRecord,
        meta: {
            title: '兑换记录',
            showHeadBox: false, //显示HeadBox组件
            titleName: '兑换记录' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/integralDet',
        component: integralDet,
        meta: {
            title: '积分明细',
            showHeadBox: false, //显示HeadBox组件
            titleName: '积分明细' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/pointOrderDetail',
        component: pointOrderDetail,
        meta: {
            title: '积分订单详情',
            showHeadBox: true, //显示HeadBox组件
            titleName: '积分订单详情' //HeadBox组件中间显示的文字
        }
    }
]
